ENP-Regex - a Regular Expression Matcher Prototype for the Expressive Notation Package
نویسنده
چکیده
In this paper we introduce ENP-regex, a prototype of a regular expression matcher developed for Expressive Notation Package (ENP). ENP-regex allows us to use the regular expression syntax to match against several score attributes, such as pitch and rhythm. Instead of writing the regular expression matcher from scratch we implement a scheme where a thin conversion layer is inserted between an existing Lisp-based regular expression library and ENP. The information sent from ENP to the regex matcher is transformed into a textual format. Similarly, the matches are converted into corresponding score objects. The benefit of the present implementation is that potentially the whole syntax of the regex matcher in question is at our disposal. We have implemented a prototype of the regular expression matcher. In this paper we present the current state of the system through examples.
منابع مشابه
Expressive Notation Package - an Overview
The purpose of this paper is to give the reader a concise overview of Expressive Notation Package 2.0 (henceforward ENP). ENP is music notation program that belongs to a family of music and sound related software packages developed at Sibelius Academy in Finland. ENP has been used in various research projects during the past several years.
متن کاملVisual Humdrum-Library for PWGL
We introduce a PWGL Humdrum interface that integrates command-line unix tools for music analysis into a visual programming environment. This symbiosis allows users access to the strengths of each system— algorithmic composition and visual programming components of PWGL along with computational analysis and data processing features of Humdrum tools. Our novel interface for Humdrum graphical prog...
متن کاملAn Innovative Approach for Regular Expression Matching Based on NoC Architecture
An new regular expression (regex) matching method based on Network-on-Chip(NoC) architecture is proposed in this paper. The idea is to combine a new kind of regex matching engine implemented in hardware with NoC architecture to get a high matching rate. The Regex matching was performed by partitioning the regex into several parts to make the finite state machine (FSM) simpler. Each part of rege...
متن کاملENP-Expressions, Score-BPF as a Case Study
ENP2.0 is a music notation program written in Common Lisp, CLOS, and OpenGL. ENP provides a rich set of notational attributes called ENPexpressions. In this paper, we give an overview of the properties of ENP-Expressions. The underlying system used to handle the graphical representation of ENP-expressions is discussed in detail. A special attention is given to an expression called Score-BPF. Th...
متن کاملA Case Study on Grammatical-Based Representation for Regular Expression Evolution
Regular expressions, or simply regex, have been widely used as a powerful pattern matching and text extractor tool through decades. Although they provide a powerful and flexible notation to define and retrieve patterns from text, the syntax and the grammatical rules of these regex notations are not easy to use, and even to understand. Any regex can be represented as a Deterministic or Non-Deter...
متن کامل